﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

namespace Models
{
    public class PersonDataDic
    {

        public static Dictionary<int, PersonZhuangBeiItem> person_zhuangbeiDic = new Dictionary<int, PersonZhuangBeiItem>();

        public static PersonZhuangBeiItem GetPersonZhuangBei(int lv)
        {
            if ( person_zhuangbeiDic.ContainsKey(lv) )
            {
                return person_zhuangbeiDic[lv];
            }
            else
            {
                return null;
            }
        }

        public PersonDataDic()
        {

        }


        public void AddPersonZhuangBeiDic( int lv , PersonZhuangBeiItem  item)
        {
            person_zhuangbeiDic.Add(lv, item);
        }

        


    }
}
